package com.pinxiang.framework.weather.power.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author GenshenWang.nomico
 * @date 2018/3/7.
 */
@Controller
@RequestMapping(value = "/main")
public class MainController {

    /**
     * 跳转到主页面
     * @return
     */
    @RequestMapping(value = "/goEqu", method = RequestMethod.GET)
    public String goEqu(){
        return "equipment/equList";
    }
    /**
     * 跳转到自动气象数据
     * @return
     */
    @RequestMapping(value = "/goHis", method = RequestMethod.GET)
    public String goHis(){
        return "hisData/hisDataList";
    }
    /**
     * 跳转到覆冰站数据
     * @return
     */
    @RequestMapping(value = "/goIce", method = RequestMethod.GET)
    public String goIce(){
        return "hisData/iceDataList";
    }

    /**
     * 跳转到地面数据
     * @return
     */
    @RequestMapping(value = "/goGround", method = RequestMethod.GET)
    public String goGround(){
        return "hisData/hisDataList";
    }
    /**
     * 跳转到气象展示
     * @return
     */
    @RequestMapping(value = "/goHisPlay", method = RequestMethod.GET)
    public String goHisPlay(){
        return "hisData/hisDisplayList";
    }
    /**
     * 跳转到气象展示
     * @return
     */
    @RequestMapping(value = "/goIcePlay", method = RequestMethod.GET)
    public String goIcePlay(){
        return "hisData/iceDisplayList";
    }

    /**
     * 跳转到地面数据展示
     * @return
     */
    @RequestMapping(value = "/goGroundPlay", method = RequestMethod.GET)
    public String goGroundPlay(){
        return "hisData/hisDisplayList";
    }

    /**
     * 跳转到报表页
     * @return
     */
    @RequestMapping(value = "/goAutoReport", method = RequestMethod.GET)
    public String goAutoReport(){
        return "report/autoReport";
    }

}
